
#include "png/libpng_helper.h"
#include "core/core.h"

using namespace std;
using namespace png;

int main(int ac, char**av)
{
  if (ac < 3) {
    ERROR(av[0] << " <input> <output>");
    return -1;
  }

  PNG mypng;
  INFO("copy " << av[1] << " --> " << av[2]);
  mypng.readFromStorage(av[1]);
  mypng.writeToStorage(av[2]);
  return 0;
}
